package com.senlingspace.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.senlingspace.common.annotation.Excel;
import com.senlingspace.common.core.domain.BaseEntity;

/**
 * 设备变更对象 slkj_equipment_log
 *
 * @author SenlingSpace
 * @date 2024-10-17
 */
public class SlkjEquipmentLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 修改前数量 */
    @Excel(name = "修改前数量")
    private Long beforeChange;

    /** 修改后数量 */
    @Excel(name = "修改后数量")
    private Long afterChange;

    /** 门店id */
    @Excel(name = "门店id")
    private Long shopId;

    /** 其他仓库备注 **/
    private String warehouse;


    /** 设备id */
    @Excel(name = "设备id")
    private Long equipmentId;
    /** 门店设备数据ID **/
    private Long equipmentShopId;



    /** 备注 */
    @Excel(name = "备注")
    private String inventory;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBeforeChange(Long beforeChange)
    {
        this.beforeChange = beforeChange;
    }

    public Long getBeforeChange()
    {
        return beforeChange;
    }
    public void setAfterChange(Long afterChange)
    {
        this.afterChange = afterChange;
    }

    public Long getAfterChange()
    {
        return afterChange;
    }
    public void setShopId(Long shopId)
    {
        this.shopId = shopId;
    }

    public Long getShopId()
    {
        return shopId;
    }

    public void setEquipmentId(Long equipmentId)
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId()
    {
        return equipmentId;
    }

    public void setInventory(String inventory)
    {
        this.inventory = inventory;
    }

    public String getInventory()
    {
        return inventory;
    }

    public Long getEquipmentShopId() {
        return equipmentShopId;
    }

    public SlkjEquipmentLog setEquipmentShopId(Long equipmentShopId) {
        this.equipmentShopId = equipmentShopId;
        return this;
    }

    public String getWarehouse() {
        return warehouse;
    }

    public SlkjEquipmentLog setWarehouse(String warehouse) {
        this.warehouse = warehouse;
        return this;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("beforeChange", getBeforeChange())
                .append("afterChange", getAfterChange())
                .append("shopId", getShopId())
                .append("equipmentId", getEquipmentId())
                .append("inventory", getInventory())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
